<template>
  <div class="right_item_container">
    <div class="right_item_wrapper">
      <div>
        <img :src="item.scpic" />
      </div>
      <div>{{item.subcname}}</div>
    </div>
  </div>
</template>


<script>
export default {
  props: {
    item: {
      type: Object,
    },
  },
};
</script>

<style scoped>
.right_item_container {
  width: 25%;
  height: 2rem;
  margin-left: 0.2rem;
  margin-right: 0.2rem;
  margin-bottom: 0.3rem;
  font-size: 0.3rem;
}

.right_item_container img {
  width: 100%;
}

.right_item_wrapper {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
</style>